package com.sxbbc.common.core.entity.jz;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 会员等级表
 * </p>
 *
 * @author 
 * @since 2020-04-03
 */
public class CLevelInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 等级名称
     */
    private String name;

    /**
     * 升级金额
     */
    private BigDecimal money;

    /**
     * 等级图片
     */
    private String url;

    /**
     * 直推人数
     */
    private Integer underNum;

    /**
     * 代理区推荐奖级差比例
     */
    private BigDecimal scale;

    /**
     * 星级会员购买代理区商品比例(即会员折扣)
     */
    private BigDecimal agentDiscount;

    /**
     * 零售返佣比例
     */
    private BigDecimal retailScale;

    /**
     * 代理区领导奖比例
     */
    private BigDecimal agentLeadScale;

    /**
     * 零售区领导奖比例
     */
    private BigDecimal retailLeadScale;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public Integer getUnderNum() {
        return underNum;
    }

    public void setUnderNum(Integer underNum) {
        this.underNum = underNum;
    }
    public BigDecimal getScale() {
        return scale;
    }

    public void setScale(BigDecimal scale) {
        this.scale = scale;
    }
    public BigDecimal getAgentDiscount() {
        return agentDiscount;
    }

    public void setAgentDiscount(BigDecimal agentDiscount) {
        this.agentDiscount = agentDiscount;
    }
    public BigDecimal getRetailScale() {
        return retailScale;
    }

    public void setRetailScale(BigDecimal retailScale) {
        this.retailScale = retailScale;
    }
    public BigDecimal getAgentLeadScale() {
        return agentLeadScale;
    }

    public void setAgentLeadScale(BigDecimal agentLeadScale) {
        this.agentLeadScale = agentLeadScale;
    }
    public BigDecimal getRetailLeadScale() {
        return retailLeadScale;
    }

    public void setRetailLeadScale(BigDecimal retailLeadScale) {
        this.retailLeadScale = retailLeadScale;
    }

    @Override
    public String toString() {
        return "CLevelInfo{" +
        "id=" + id +
        ", name=" + name +
        ", money=" + money +
        ", url=" + url +
        ", underNum=" + underNum +
        ", scale=" + scale +
        ", agentDiscount=" + agentDiscount +
        ", retailScale=" + retailScale +
        ", agentLeadScale=" + agentLeadScale +
        ", retailLeadScale=" + retailLeadScale +
        "}";
    }
}
